#include "centerpanelbase.h"
#include "ui_centerpanelbase.h"

CenterPanelBase::CenterPanelBase(QWidget *parent,QSize size) :
    QObject(parent)
{
    //parent->resize(size);
    //不可最大化
    //parent->setWindowFlags(parent->windowFlags()& ~Qt::WindowMaximizeButtonHint);
    //窗口大小不变化
    //parent->setFixedSize(parent->width(), parent->height());

}

CenterPanelBase::~CenterPanelBase()
{

}
